﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.ServiceModel.Web;
using Skynet.BusinessEntities;
namespace Skynet.ServiceContracts
{
    [ServiceContract(Namespace="")]
    public interface ISkynetLibraryWeb
    {
        [OperationContract]        
        [WebGet(ResponseFormat= WebMessageFormat.Xml)]
        DateTime GetSystemDate();

        [OperationContract]
        List<ExamCategory> FindExamCategories(DataContracts.DCExamFindCategoryOperation operation);

        [OperationContract]
        [WebInvoke(BodyStyle = WebMessageBodyStyle.WrappedRequest, ResponseFormat = WebMessageFormat.Xml)]
        void RegisterMethodInterceptor(Guid Id, string Solution, Guid Application, Guid Operation, string Module, string ClassName, string MethodName, string Created);

        [OperationContract]
        [WebInvoke(BodyStyle = WebMessageBodyStyle.WrappedRequest, ResponseFormat = WebMessageFormat.Xml)]
        double GetOperationAverage(string solution, string module, string classname, string method);
    }
}
